Workpackage 3: Model Engineering Deliverable D3.1.b: Model Weaving
نویسندگان
چکیده
rule ClassWithOperationsContributingClass merge c : Core!EClass with s : ObserverPattern!EClass into t : Target!EClass { for (sop in s.eOperations) { var op : new Target!EOperation; op.name := sop.name; t.eOperations.add(op); for (sopp in sop.eParameters) { var p : new Target!EParameter; p.name := sopp.name; p.eType ::= sopp.eType; op.eParameters.add(p); } } } auto rule ClassWithObserver merge c : Core!EClass with o : ObserverPattern!EClass into t : Target!EClass extends ClassWithOperationsContributingClass { guard : o.name = 'Observer' for (s in ObserverLink!ObserverLink.allInstances. select(l|l.observer = c).collect(l|l.subject).flatten()) { var tref : Target!EReference; var sref : Target!EReference; tref := t.createOneToManyRef ('subjects' + s.name, s.equivalent()); sref := s.equivalent(). CreateOneToManyRef ('observer' + c.name, c.equivalent()); sref.eOpposite := tref; } } auto rule ClassWithSubject merge c : Core!EClass with s : ObserverPattern!EClass into t : Target!EClass extends ClassWithOperationsContributingClass { guard : o.name = 'Subject'
منابع مشابه
Decentralized and Wireless Control of Large-Scale Systems
Deliverable number D3.1 Title Methodologies for identification and model management of large-scale systems Work package WP3 Multilayer distributed control and model management Due date M22 Actual submission date 09/11/2010 Lead contractor KTH for this deliverable Authors Håkan Hjalmarsson Pavel Trnka Henrik Sandberg <[email protected]...
متن کاملBanking Application Assembly using a component based approach ” DELIVERABLE EXTERNAL WORKPACKAGE : WP 1 – Component Procurement Process D 1 - Process Model for Component Procurement
متن کامل
Deliverable Item 4 . 3 Results of behavioral experiments with infants
Short Description: This deliverable contains a full account of the developmental psychology experiments carried out during Adapt. This is also the final report of workpackage 4.
متن کامل